package com.ngc.mall.dto;

import com.ngc.mall.bo.Spec;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SkuDTO {
    private Long id;
    private String title;

    private int stock;

    private BigDecimal price;

    private List<Spec> specs;

    private Long spuId;

    private String img;
}
